<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page language="java" import="sun.misc.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    
    <title>My JSP 'shenhe.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="CSS/common.css" rel="stylesheet" type="text/css" />
	<link href="CSS/date.css" rel="stylesheet" type="text/css" />

	<script src="JS/jquery-1.7.2.min.js" language="javascript" type="text/javascript"></script>
	<script src="JS/date.js" language="javascript" type="text/javascript"></script>
	<script src="JS/rili.js" language="javascript" type="text/javascript"></script>
	<script language="javascript">

	$(document).ready(function(){
		$("#starttime").cgCalendar();
		$("#endtime").cgCalendar();
	});

</script>
<style>
	a{cursor:pointer;}
	a:hover{color:black;}
</style>
  </head>
  
<body>

<div class="banner">
<h1>F=欢迎计量学院网上审批系统上线</h1>
</div>

<div class="con sp_png">

	<div class="sp_main">
	<script type="text/javascript" src="JS/tips.js"></script>
		<div class="sideBar">
		<h3>审批管理</h3>
		<h4>欢迎您：<span>姚伏天</span></h4>
				<dl>
				<dt>申请管理</dt>
				<dd><a href="TheFirst.jsp">在线申请</a></dd>
				<dd><a href="myShenqingServlet">我的申请</a></dd>
				<dd><a href="BusinessProcessServlet">业务处理</a></dd>
				<dd><a href="tongji.jsp">台账生成</a></dd>
				</dl>
				<dl>
				<dt>用户管理</dt>
				<dd><a href="YongHuliebiaoServlet">用户列表</a></dd>
				<dd><a href="tianjia.jsp">添加用户</a></dd>
				<dd><a href="xiugaimima.jsp">修改密码</a></dd>
				</dl>
				<dl>
		<dt>注销</dt>
		<dd><a>退出登录</a></dd>
		</dl>
		<p><input id="opentips" class="input_c" type="button" value="事件提醒"/></p>
		<p align="left" style="font-family:Verdana, Arial, Helvetica, sans-serif; color:#0000FF">
		<br>
		<br>
		<span style="font-size:14px; font-weight:bold">友情提示：</span>
		<br>
		使用本系统中如遇到问题，请与系统管理员联系。
		<br>
		系统管理员：王琳
		<br>
		联系电话：87676382
		</p>
		</div>
		<div class="sp_con">
			<h3 style="float:left">货物/服务申购</h3>
			<c:if test="${sign == '0'}">
				<h3 style="float: right;cursor: pointer;background: url('Img/liBtn.gif') no-repeat scroll 50% center transparent;width: 138px;
height: 27px;
line-height: 27px;
margin-right: 12px;
text-align: center;
border-radius: 13px;"><a href="PrintPdf?bh=${lingxing.bh}">打印</a></h3>
			</c:if>
			<c:if test="${sign == '3'}">
				<h3 style="float: right;cursor: pointer;background: url('Img/liBtn.gif') no-repeat scroll 50% center transparent;width: 138px;
height: 27px;
line-height: 27px;
margin-right: 12px;
text-align: center;
border-radius: 13px;"><a href="rukuServlet?bh=${lingxing.bh}">入库</a></h3>
			</c:if>
			<table style="border:none" width="100%">
				<tr>
					<td align="left">编号：<span style="text-decoration:underline">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
					<td align="right">流水号：<span style="text-decoration:underline">${lingxing.bh}</span></td>
				</tr>
			 </table>
			<div class="data">
			<table width="100%" border="1" cellspacing="0" cellpadding="0" >
			  <tr>
				<td colspan="2" rowspan="2" align="center" style="display:none">项目名称</td>
				<td colspan="2" rowspan="2" align="center" style="display:none">${lingxing.xiangmumc }</td>
				<td colspan="2" align="center">联系人</td>
				<td colspan="2" align="center">${lingxing.lianxiren}</td>
				<td colspan="2" align="center">联系电话（手机）</td>
				<td colspan="2" align="center">${lingxing.lianxidh}</td>
			  </tr>
			  <tr>
				<td colspan="2" align="center">使用部门</td>
				<td colspan="2" align="center">${lingxing.dw_mc }</td>
				<td colspan="2" align="center">供货时间</td>
				<td colspan="2" align="center">${lingxing.gonghuosj}</td>
			  </tr>
			  <tr>
				<td width="8%" rowspan="2" align="center">经费来源</td>
				<td width="10%" align="center">经费名称</td>
				<td colspan="2" align="center">${lingxing.jingfeimc}</td>
				<td rowspan="2" colspan="2" align="center">预算金额（元）</td>
				<td rowspan="2" colspan="2" align="center">${lingxing.yusuanje}</td>
			  </tr>
			  <tr>
				<td align="center">经费代码</td>
				<td colspan="2" align="center">${lingxing.jingfeidm}</td>
			  </tr>
			  <tr>
			  	<td colspan="2" align="center">经费负责人工号</td>
				<td colspan="2" align="center">${lingxing.fuzerengh}</td>
				<td colspan="2" align="center">经费负责人姓名</td>
				<td colspan="2" align="center">${lingxing.fuzerenxm}</td>
			  </tr>
			  <tr>
				<td height="86" colspan="2" align="center">建议采购方式</td>
				<td colspan="6" align="center">${lingxing.caigoufs}</td>
			  </tr>
			  <tr>
				<td align="center">序号</td>
				<td align="center">名称</td>
				<td align="center" width="150">规格（型号）</td>
				<td align="center">单位</td>
				<td align="center">数量</td>
				<td align="center">单价（元）</td>
				<td align="center">合价（元）</td>
				<td align="center">备注</td>
			  </tr>
			  <%int i=1; %>
			  <c:forEach items="${liebiao}" var="list">
			  	 <tr>
					<td align="center"><%=i++%></td>
					<td align="center">${list.mingcheng}</td>
					<td align="left">${list.miaoshu}</td>
					<td align="center">${list.danwei}</td>
					<td align="center">${list.shuliang}</td>
					<td align="center">${list.danjia}</td>
					<td align="center">${list.hejia}</td>
					<td align="center">${list.beizhu}</td>
				  </tr>
			  </c:forEach>
				  			 			  
			  <tr>
				<td colspan="8" align="center">合计金额（元） ${lingxing.hejije}</td>
			  </tr>
			</table>
			<h4>业务流程记录</h4>
	<table width="100%" border="1" cellspacing="0" cellpadding="0" style="text-align:center;">
      <tr style=" font-weight:bold">
        <td align="center">已完成业务流程</td>
        <td align="center">操作日期</td>
        <td align="center">操作人</td>
		<td align="center">联系电话</td>
        <td align="center">审核意见</td>
      </tr>
      <tr><td>申请人提交申请</td><td>${time}</td><td>${lingxing.lianxiren}</td><td>${lingxing.lianxidh}</td><td></td></tr>
      <c:forEach items="${shenhe}" var="list1">
      	<tr><td>${list1.bz_mc}</td><td>${list1.sh_riqi}</td><td>${list1.sh_ren}</td><td>${list1.lianxidh}</td><td>${list1.sh_yijian}</td></tr>
      </c:forEach>
      </table>
		</div>
		</div>
		<div class="clear"></div>
	</div>
</div>

<div class="footer png" style="position:relative;height:50px;">
<p>Copyright © 2012 版权所有：中国计量学院实验室与资产管理处 访问总量：<span>20243</span>次 <a>管理登录</a></p>
</div>
</body>
</html>
